using System;
using System.Xml.Serialization;

namespace WHC.Hotel.Entity
{
    [Serializable]
    public class RoomTypeInfo : BaseEntity
    {    
        #region Field Members

        private int m_ID = 0; //编号          
        private string m_Name = ""; //房间类型          
        private int m_BedsNumber = 0; //床位数量          
        private decimal m_DayPrice = 0; //预设单价每天          
        private decimal m_HalfPrice = 0; //预设单价每半天          
        private decimal m_DepositMoney = 0; //预设押金          
        private decimal m_HourPrice = 0; //钟点房标准计费小时          
        private bool m_EnablePartTime = false; //是否允许开钟点房          
        private string m_Note = ""; //备注          

        #endregion

        #region Property Members
        
        /// <summary>
        /// 编号
        /// </summary>
        public virtual int ID
        {
            get
            {
                return this.m_ID;
            }
            set
            {
                this.m_ID = value;
            }
        }

        /// <summary>
        /// 房间类型
        /// </summary>
        public virtual string Name
        {
            get
            {
                return this.m_Name;
            }
            set
            {
                this.m_Name = value;
            }
        }

        /// <summary>
        /// 床位数量
        /// </summary>
        public virtual int BedsNumber
        {
            get
            {
                return this.m_BedsNumber;
            }
            set
            {
                this.m_BedsNumber = value;
            }
        }

        /// <summary>
        /// 预设单价每天
        /// </summary>
        public virtual decimal DayPrice
        {
            get
            {
                return this.m_DayPrice;
            }
            set
            {
                this.m_DayPrice = value;
            }
        }

        /// <summary>
        /// 预设单价每半天
        /// </summary>
        public virtual decimal HalfPrice
        {
            get
            {
                return this.m_HalfPrice;
            }
            set
            {
                this.m_HalfPrice = value;
            }
        }

        /// <summary>
        /// 预设押金
        /// </summary>
        public virtual decimal DepositMoney
        {
            get
            {
                return this.m_DepositMoney;
            }
            set
            {
                this.m_DepositMoney = value;
            }
        }

        /// <summary>
        /// 钟点房标准计费小时
        /// </summary>
        public virtual decimal HourPrice
        {
            get
            {
                return this.m_HourPrice;
            }
            set
            {
                this.m_HourPrice = value;
            }
        }

        /// <summary>
        /// 是否允许开钟点房
        /// </summary>
        public virtual bool EnablePartTime
        {
            get
            {
                return this.m_EnablePartTime;
            }
            set
            {
                this.m_EnablePartTime = value;
            }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Note
        {
            get
            {
                return this.m_Note;
            }
            set
            {
                this.m_Note = value;
            }
        }


        #endregion

    }
}